package com.entity;
//1
import java.io.Serializable;

/**
 * 封装查询条件
 */
public class QueryPageBean implements Serializable{
    private Integer currentPage;//页码
    private Integer pageSize;//每页记录数
    private QueryString queryString;//查询条件

    public QueryPageBean() {
    }

    public class QueryString{
        private String bNo;
        private String bName;
        private String author;
        private String bTypeName;

        public QueryString() {
        }

        @Override
        public String toString() {
            return "QueryString{" +
                    "bNo='" + bNo + '\'' +
                    ", bName='" + bName + '\'' +
                    ", author='" + author + '\'' +
                    ", bTypeName='" + bTypeName + '\'' +
                    '}';
        }

        public String getbNo() {
            return bNo;
        }

        public void setbNo(String bNo) {
            this.bNo = bNo;
        }

        public String getbName() {
            return bName;
        }

        public void setbName(String bName) {
            this.bName = bName;
        }

        public String getAuthor() {
            return author;
        }

        public void setAuthor(String author) {
            this.author = author;
        }

        public String getbTypeName() {
            return bTypeName;
        }

        public void setbTypeName(String bTypeName) {
            this.bTypeName = bTypeName;
        }
    }

//    public static void main(String[] args) {
//        QueryPageBean queryPageBean=new QueryPageBean();
//        q
//    }
    public Integer getCurrentPage() {
        return currentPage;
    }
    @Override
    public String toString() {
        return "QueryPageBean{" +
                "currentPage=" + currentPage +
                ", pageSize=" + pageSize +
                ", queryString=" + queryString +
                '}';
    }

    public void setCurrentPage(Integer currentPage) {
        this.currentPage = currentPage;
    }

    public Integer getPageSize() {
        return pageSize;
    }

    public void setPageSize(Integer pageSize) {
        this.pageSize = pageSize;
    }

    public QueryString getQueryString() {
        return queryString;
    }

    public void setQueryString(QueryString queryString) {
        this.queryString = queryString;
    }
}